package com.snake.springboot.custom.api.model.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.snake.common.validate.Create;

import javax.validation.constraints.NotEmpty;

/**
 * 商户子账号
 * 类{@code CustSubAccountModel} </br>
 * 创建时间 2025/02/08 09:34
 * @author yangxt
 * @see
 */
@ApiModel(description="商户子账号")
public class CustSubAccountModel {
    /**
    * 
    */
    @ApiModelProperty(value="")
    private String subAccountId;

    /**
    * 商户id
    */
    @ApiModelProperty(value="商户id")
    @NotEmpty(message = "商户ID不能为空", groups = {Create.class})
    private String customId;

    /**
    * 显示名称
    */
    @ApiModelProperty(value="显示名称")
    private String accountName;

    /**
    * 登录名称
    */
    @ApiModelProperty(value="登录名称")
    @NotEmpty(message = "登录账号不能空", groups = {Create.class})
    private String account;


    /**
    * 可用状态：0不可用；1可用
    */
    @ApiModelProperty(value="可用状态：0不可用；1可用")
    private Integer enable;

    /**
    * 
    */
    @ApiModelProperty(value="")
    private String createdTime;

    /**
    * 
    */
    @ApiModelProperty(value="")
    private String updatedTime;
    @ApiModelProperty(value="商户名称")
    private String customName;
    @ApiModelProperty(value="商户编码")
    private String customCode;
    @ApiModelProperty(value="账号类型：")
    private Integer accountType;
    @NotEmpty(message = "密码不能空", groups = {Create.class})
    private String password;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAccountType() {
        return accountType;
    }

    public void setAccountType(Integer accountType) {
        this.accountType = accountType;
    }

    public String getCustomCode() {
        return customCode;
    }

    public void setCustomCode(String customCode) {
        this.customCode = customCode;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public String getSubAccountId() {
        return subAccountId;
    }

    public void setSubAccountId(String subAccountId) {
        this.subAccountId = subAccountId;
    }

    public String getCustomId() {
        return customId;
    }

    public void setCustomId(String customId) {
        this.customId = customId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }
}